@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
body{
    background-color: #f7f7f75c !important;
}
a{
    text-decoration: none;
}
.m-card-container{
    width: 100% !important;
    margin: 0 !important;
}
.m-shop-container{
    width: 75%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    padding-left: 3em;
    box-sizing: border-box;
}
.m-shop-container .m-card-ele{
    width: 31.3%;
}
.m-shop-title{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    background-color: rgb(236 241 255);
    box-sizing: border-box;
    padding:1em;
    border-radius: 5px;
}
.m-shop-title p{
    width: 50%;
    float: left;
    margin: 0;
}
.m-shop-sort{
    width: 50%;
    height: auto;
    float: left;
    display: flex;
    justify-content: flex-end;}
.m-shop-sort select{
    width: 12em;
    float: left;
    border-radius: 100px;
    padding: 0.4em 1em;
    border: 1.5px solid rgba(80, 106, 173, 0.375);
    box-sizing: border-box;
    outline: none;
    color: rgb(0, 94, 202);
    box-sizing: border-box;
}
.m-pagination-sec{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em 0;
}
.m-pagination-sec ul{
    width: fit-content;
    float: left;
    display: flex;
    padding: 0;
    margin: 0;
    border: 1.5px solid rgba(80, 106, 173, 0.375);
    border-radius: 5px;
    overflow: hidden;
    flex-direction: row-reverse;
    box-sizing: border-box;
}
.m-pagination-sec li{
    width: fit-content;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    border-right: 1.5px solid rgba(80, 106, 173, 0.375);
}
.m-pagination-sec li:last-child{
    border: none;
}
.m-pagination-sec a{
    width: 2.8em;
    padding: 0.4em 0;
    float: left;
    color: black;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-active-page{
    background-color: rgba(80, 106, 173, 0.375) !important;
    color: rgb(0, 94, 202) !important;
}
@media only screen and (max-width:1100px){
    .m-card-ele {
        width: 48% !important;
    }
}
@media only screen and (max-width:900px){
    .m-shop-container {
        width: 100%;
        padding-left: 0;
    }
}

@media only screen and (max-width:650px){
    .m-card-ele {
        width: 98% !important;
    }
    /* .m-card-img img {
        width: 55% !important;
    } */
    .m-shop-title {
        flex-direction: column;
    }
    .m-shop-title p {
        width:fit-content;
        margin-bottom: 1em;
    }
    .m-shop-sort{
        width: fit-content;
    }
    .m-pagination-sec a {
        width: 2em;
        padding: 0.2em 0;
        font-size: 13px;
    }
}
/* @media only screen and (max-width:450px){
    .m-card-img img {
        width: 65% !important;
    }
} */